.class public Lcom/waiqin365/lightapp/kehu/b/at;
.super Landroid/support/v4/view/PagerAdapter;


# static fields
.field static final synthetic b:Z


# instance fields
.field public a:Z

.field private c:Landroid/content/Context;

.field private d:Ljava/util/ArrayList;

.field private e:Landroid/view/LayoutInflater;

.field private f:Ljava/util/HashMap;

.field private g:Lcom/waiqin365/lightapp/kehu/b/aw;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const-class v0, Lcom/waiqin365/lightapp/kehu/b/at;

    invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    sput-boolean v0, Lcom/waiqin365/lightapp/kehu/b/at;->b:Z

    return-void

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/util/ArrayList;Ljava/util/HashMap;Lcom/waiqin365/lightapp/kehu/b/aw;)V
    .locals 1

    invoke-direct {p0}, Landroid/support/v4/view/PagerAdapter;-><init>()V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/b/at;->a:Z

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/b/at;->c:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/kehu/b/at;->d:Ljava/util/ArrayList;

    iput-object p4, p0, Lcom/waiqin365/lightapp/kehu/b/at;->g:Lcom/waiqin365/lightapp/kehu/b/aw;

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/at;->e:Landroid/view/LayoutInflater;

    iput-object p3, p0, Lcom/waiqin365/lightapp/kehu/b/at;->f:Ljava/util/HashMap;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/b/at;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/at;->d:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/b/at;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/at;->c:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kehu/b/at;)Ljava/util/HashMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/at;->f:Ljava/util/HashMap;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kehu/b/at;)Lcom/waiqin365/lightapp/kehu/b/aw;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/at;->g:Lcom/waiqin365/lightapp/kehu/b/aw;

    return-object v0
.end method


# virtual methods
.method public a(Ljava/util/ArrayList;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/b/at;->d:Ljava/util/ArrayList;

    return-void
.end method

.method public a(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/kehu/b/at;->a:Z

    return-void
.end method

.method public destroyItem(Landroid/view/ViewGroup;ILjava/lang/Object;)V
    .locals 0

    check-cast p3, Landroid/view/View;

    invoke-virtual {p1, p3}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    return-void
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/at;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public instantiateItem(Landroid/view/ViewGroup;I)Ljava/lang/Object;
    .locals 11

    const/4 v10, 0x0

    const/16 v9, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/at;->e:Landroid/view/LayoutInflater;

    const v1, 0x7f030046

    invoke-virtual {v0, v1, p1, v10}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v5

    sget-boolean v0, Lcom/waiqin365/lightapp/kehu/b/at;->b:Z

    if-nez v0, :cond_0

    if-nez v5, :cond_0

    new-instance v0, Ljava/lang/AssertionError;

    invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V

    throw v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/at;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    const v1, 0x7f0c01ef

    invoke-virtual {v5, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    const v2, 0x7f0c01f0

    invoke-virtual {v5, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    const v3, 0x7f0c01f2

    invoke-virtual {v5, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const v4, 0x7f0c01f3

    invoke-virtual {v5, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/RelativeLayout;

    const v6, 0x7f0c01f1

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    const v7, 0x7f0c01f4

    invoke-virtual {v5, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    new-instance v8, Lcom/waiqin365/lightapp/kehu/b/au;

    invoke-direct {v8, p0, p2}, Lcom/waiqin365/lightapp/kehu/b/au;-><init>(Lcom/waiqin365/lightapp/kehu/b/at;I)V

    invoke-virtual {v4, v8}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    add-int/lit8 v8, p2, 0x1

    invoke-virtual {v4, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v8, "."

    invoke-virtual {v4, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v8, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {v4, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v1, 0x7f0c01f5

    invoke-virtual {v5, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout;

    iget-boolean v4, p0, Lcom/waiqin365/lightapp/kehu/b/at;->a:Z

    if-eqz v4, :cond_4

    new-instance v4, Lcom/waiqin365/lightapp/kehu/b/av;

    invoke-direct {v4, p0, v0}, Lcom/waiqin365/lightapp/kehu/b/av;-><init>(Lcom/waiqin365/lightapp/kehu/b/at;Lcom/waiqin365/lightapp/kehu/b/am;)V

    invoke-virtual {v1, v4}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightapp/kehu/b/at;->c:Landroid/content/Context;

    const v6, 0x7f0802b5

    invoke-virtual {v4, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget v4, v0, Lcom/waiqin365/lightapp/kehu/b/am;->p:I

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, "m"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->p:I

    if-ltz v1, :cond_1

    iget v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->p:I

    const v4, 0x7fffffff

    if-ne v1, v4, :cond_3

    :cond_1
    const/4 v1, 0x4

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const/16 v2, 0x2c

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;C)Ljava/util/ArrayList;

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-virtual {v3, v1}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    new-instance v1, Lcom/waiqin365/lightapp/kehu/b/bm;

    invoke-direct {v1, v3}, Lcom/waiqin365/lightapp/kehu/b/bm;-><init>(Landroid/widget/TextView;)V

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/String;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    aput-object v0, v2, v10

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/b/bm;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    :cond_2
    invoke-virtual {p1, v5}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    return-object v5

    :cond_3
    invoke-virtual {v2, v10}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    :cond_4
    invoke-virtual {v1, v9}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    invoke-virtual {v7, v9}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v2, v9}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-virtual {v6, v9}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public isViewFromObject(Landroid/view/View;Ljava/lang/Object;)Z
    .locals 1

    invoke-virtual {p1, p2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method
